Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use global_snab_kc_pid #315

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Conversation

qzhuyan
Copy link
Collaborator

@qzhuyan qzhuyan commented Oct 24, 2024

fix lock_order_violation when run with debug emu type

    at beam/erl_lock_check.c:1225
    at beam/erl_threads.h:1991

debug emu doesn't like to call enif_whereis_pid in resource down callback.

fix lock_order_violation when run with debug emu type
````
    at beam/erl_lock_check.c:1225
    at beam/erl_threads.h:1991
````
@@ -66,6 +66,17 @@
-include_lib("snabbkaffe/include/snabbkaffe.hrl").
-include("quicer.hrl").

-define(my_check_trace(BUCKET, RUN, CHECK),
?check_trace(
BUCKET,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this argument called BUCKET?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants